Skip to content

fix: race condition in workflow reconciler #2549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

metacosm
Copy link
Collaborator

Signed-off-by: Chris Laprun [email protected]

@metacosm metacosm self-assigned this Oct 10, 2024
@metacosm metacosm requested review from csviri and xstefank October 10, 2024 14:10
@openshift-ci openshift-ci bot requested a review from adam-sandor October 10, 2024 14:10
@csviri
Copy link
Collaborator

csviri commented Oct 10, 2024

Which one is here caused the issue? AFAIK concurrentHashMap should cover those usages here

@metacosm
Copy link
Collaborator Author

Which one is here caused the issue? AFAIK concurrentHashMap should cover those usages here

I thought so as well but it seems that the results might not be updated correctly with the proper visibility, resulting in conditions tests not seeing the actual results (e.g. in the test that was failing, it seemed like the unmet condition on DR2 was not seen when checking whether DR4 should be reconciled)

@metacosm metacosm merged commit 3dd77c1 into next Oct 10, 2024
20 checks passed
@metacosm metacosm deleted the fix-race-condition branch October 10, 2024 14:33
metacosm added a commit that referenced this pull request Nov 5, 2024
metacosm added a commit that referenced this pull request Nov 6, 2024
csviri pushed a commit that referenced this pull request Nov 13, 2024
metacosm added a commit that referenced this pull request Nov 19, 2024
metacosm added a commit that referenced this pull request Nov 20, 2024
metacosm added a commit that referenced this pull request Nov 27, 2024
csviri pushed a commit that referenced this pull request Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants